package com.shop.cereshop.business.dao.shop;

import com.shop.cereshop.business.page.shop.ShopBankDetail;
import com.shop.cereshop.commons.domain.shop.CerePlatformShop;
import com.shop.cereshop.commons.domain.shop.CereShopBank;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CereShopBankDAO {
    int insert(CereShopBank record);

    int insertSelective(CereShopBank record);

    void update(CereShopBank bank);

    void delete(CereShopBank bank);

    ShopBankDetail getById(@Param("shopId") Long shopId);

    CerePlatformShop findByPhone(@Param("shopId") Long shopId, @Param("phone") String phone);
}